﻿<Window x:Class="TorchView.FileStore.EditCommentView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Comment:" WindowStartupLocation="CenterOwner" Style="{StaticResource DialogWindowStyle}">
  <Grid Margin="7">
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto" />
      <RowDefinition Height="Auto" />
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
      <ColumnDefinition Width="*" />
      <ColumnDefinition Width="Auto" />
    </Grid.ColumnDefinitions>
    <TextBox Grid.ColumnSpan="2" MinWidth="300" MinHeight="50" Margin="0,7" Text="{Binding Path=Comment, Mode=TwoWay}" Background="{StaticResource BackgroundBrush}" Foreground="{StaticResource HighlightedTextBrush}" BorderBrush="{StaticResource BorderBrush}" />
    <Button Grid.Row="1" HorizontalAlignment="Right" Content="OK" IsDefault="True" Command="{Binding OKCommand}" Margin="7,0" />
    <Button Grid.Row="1" Grid.Column="1" HorizontalAlignment="Right" Content="Cancel" IsCancel="True" />
  </Grid>
</Window>
